<?
class EbocashHelper extends Helper {

	var $name = 'Ebocash';
	var $helpers = array('Html');

	function category($name) {

		$subs = explode(':', $name);
		if (count($subs) > 1) {
			$super = $subs[0];
			$sl = $this->Html->link($super, array('controller'=>'categories', 'action'=>'super', $super));
			$sl .= ' > '.$subs[1];
		} else {
			$sl = $name;
		}

		return $sl;
	}

}
?>